Skip to content

chore: move to uv - #632

Merged
CFenner merged 14 commits into
openviess:masterfrom
CFenner:uv
Sep 29, 2026
Merged

CFenner merged 14 commits into
openviess:masterfrom
CFenner:uv

Conversation

@CFenner

@CFenner CFenner commented Oct 23, 2025 •

Copy link
Copy Markdown
Member

Replaces Poetry with uv for dependency management, builds and CI.

Packaging

  • Converts pyproject.toml to standard [project] metadata with a [dependency-groups] dev group
  • Switches the build backend from Poetry to hatchling
  • Replaces poetry.lock with uv.lock
  • Keeps the current dependency constraints, dev tool pins and requires-python = ">=3.10"

CI

  • Replaces the Poetry and setup-python steps with astral-sh/setup-uv
  • Installs dependencies with uv sync --frozen and runs the checks with uv run --frozen, so they use the project environment and the pinned tool versions
  • Release: sets the version with uv version and builds with uv build

Verification

  • codespell, ruff, pylint, mypy and pytest (806 passed, 30 skipped) all pass locally through uv run
  • uv build produces a wheel and sdist that contain all PyViCare modules, and the wheel installs and imports cleanly

🤖 Generated with Claude Code

CFenner and others added 9 commits February 1, 2026 19:02
# Conflicts:
#	.github/workflows/lint.yml
#	.github/workflows/release.yml
#	.github/workflows/test.yml
#	.github/workflows/type.yml
#	poetry.lock
#	pyproject.toml
- use valid uv commands (uv version / uv build)
- fix hatch config so the PyViCare package is included in wheel and sdist

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
uv tool run uses an isolated environment without the project's
dependencies and ignores the pinned tool versions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@CFenner
CFenner marked this pull request as ready for review September 29, 2026 16:46
# Conflicts:
#	poetry.lock
#	pyproject.toml
# Conflicts:
#	poetry.lock
#	pyproject.toml
@CFenner
CFenner merged commit 13f9b37 into openviess:master Sep 29, 2026
10 checks passed
@CFenner
CFenner deleted the uv branch September 29, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant